Optimal. Leaf size=1172 \[ \text{result too large to display} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 4.47879, antiderivative size = 961, normalized size of antiderivative = 0.82, number of steps used = 118, number of rules used = 13, integrand size = 45, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.289, Rules used = {2528, 2525, 12, 2486, 31, 43, 2524, 2418, 2394, 2393, 2391, 2390, 2301} \[ \frac{B^2 g^3 i^3 n^2 \log ^2(c+d x) (b c-a d)^7}{140 b^4 d^4}-\frac{B^2 g^3 i^3 n^2 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x) (b c-a d)^7}{70 b^4 d^4}+\frac{B g^3 i^3 n \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x) (b c-a d)^7}{70 b^4 d^4}-\frac{B^2 g^3 i^3 n^2 \text{PolyLog}\left (2,\frac{b (c+d x)}{b c-a d}\right ) (b c-a d)^7}{70 b^4 d^4}+\frac{B^2 g^3 i^3 n^2 x (b c-a d)^6}{70 b^3 d^3}-\frac{A B g^3 i^3 n x (b c-a d)^6}{70 b^3 d^3}-\frac{B^2 g^3 i^3 n (a+b x) \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right ) (b c-a d)^6}{70 b^4 d^3}-\frac{3 B^2 g^3 i^3 n^2 (a+b x)^2 (b c-a d)^5}{280 b^4 d^2}+\frac{B g^3 i^3 n (a+b x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) (b c-a d)^5}{140 b^4 d^2}+\frac{11 B^2 g^3 i^3 n^2 (a+b x)^3 (b c-a d)^4}{1260 b^4 d}-\frac{B g^3 i^3 n (a+b x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) (b c-a d)^4}{210 b^4 d}+\frac{B^2 g^3 i^3 n^2 (a+b x)^4 (b c-a d)^3}{42 b^4}+\frac{g^3 i^3 (a+b x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 (b c-a d)^3}{4 b^4}-\frac{17 B g^3 i^3 n (a+b x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) (b c-a d)^3}{140 b^4}+\frac{B^2 d g^3 i^3 n^2 (a+b x)^5 (b c-a d)^2}{105 b^4}+\frac{3 d g^3 i^3 (a+b x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 (b c-a d)^2}{5 b^4}-\frac{B d g^3 i^3 n (a+b x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) (b c-a d)^2}{7 b^4}+\frac{d^2 g^3 i^3 (a+b x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 (b c-a d)}{2 b^4}-\frac{B d^2 g^3 i^3 n (a+b x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) (b c-a d)}{21 b^4}+\frac{d^3 g^3 i^3 (a+b x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2528
Rule 2525
Rule 12
Rule 2486
Rule 31
Rule 43
Rule 2524
Rule 2418
Rule 2394
Rule 2393
Rule 2391
Rule 2390
Rule 2301
Rubi steps
\begin{align*} \int (178 c+178 d x)^3 (a g+b g x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 \, dx &=\int \left (\frac{(-b c+a d)^3 g^3 (178 c+178 d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^3}+\frac{3 b (b c-a d)^2 g^3 (178 c+178 d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{178 d^3}-\frac{3 b^2 (b c-a d) g^3 (178 c+178 d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{31684 d^3}+\frac{b^3 g^3 (178 c+178 d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5639752 d^3}\right ) \, dx\\ &=\frac{\left (b^3 g^3\right ) \int (178 c+178 d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 \, dx}{5639752 d^3}-\frac{\left (3 b^2 (b c-a d) g^3\right ) \int (178 c+178 d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 \, dx}{31684 d^3}+\frac{\left (3 b (b c-a d)^2 g^3\right ) \int (178 c+178 d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 \, dx}{178 d^3}-\frac{\left ((b c-a d)^3 g^3\right ) \int (178 c+178 d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2 \, dx}{d^3}\\ &=-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{\left (b^3 B g^3 n\right ) \int \frac{5661610866627712 (b c-a d) (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{3513565496 d^4}+\frac{\left (b^2 B (b c-a d) g^3 n\right ) \int \frac{31806802621504 (b c-a d) (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{5639752 d^4}-\frac{\left (3 b B (b c-a d)^2 g^3 n\right ) \int \frac{178689902368 (b c-a d) (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{79210 d^4}+\frac{\left (B (b c-a d)^3 g^3 n\right ) \int \frac{1003875856 (b c-a d) (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{356 d^4}\\ &=-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{\left (11279504 b^3 B (b c-a d) g^3 n\right ) \int \frac{(c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{7 d^4}+\frac{\left (5639752 b^2 B (b c-a d)^2 g^3 n\right ) \int \frac{(c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{d^4}-\frac{\left (33838512 b B (b c-a d)^3 g^3 n\right ) \int \frac{(c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{5 d^4}+\frac{\left (2819876 B (b c-a d)^4 g^3 n\right ) \int \frac{(c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{d^4}\\ &=-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{\left (11279504 b^3 B (b c-a d) g^3 n\right ) \int \left (\frac{d (b c-a d)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^6}+\frac{(b c-a d)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^6 (a+b x)}+\frac{d (b c-a d)^4 (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^5}+\frac{d (b c-a d)^3 (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^4}+\frac{d (b c-a d)^2 (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^3}+\frac{d (b c-a d) (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^2}+\frac{d (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b}\right ) \, dx}{7 d^4}+\frac{\left (5639752 b^2 B (b c-a d)^2 g^3 n\right ) \int \left (\frac{d (b c-a d)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^5}+\frac{(b c-a d)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^5 (a+b x)}+\frac{d (b c-a d)^3 (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^4}+\frac{d (b c-a d)^2 (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^3}+\frac{d (b c-a d) (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^2}+\frac{d (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b}\right ) \, dx}{d^4}-\frac{\left (33838512 b B (b c-a d)^3 g^3 n\right ) \int \left (\frac{d (b c-a d)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^4}+\frac{(b c-a d)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^4 (a+b x)}+\frac{d (b c-a d)^2 (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^3}+\frac{d (b c-a d) (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^2}+\frac{d (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b}\right ) \, dx}{5 d^4}+\frac{\left (2819876 B (b c-a d)^4 g^3 n\right ) \int \left (\frac{d (b c-a d)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^3}+\frac{(b c-a d)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^3 (a+b x)}+\frac{d (b c-a d) (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b^2}+\frac{d (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{b}\right ) \, dx}{d^4}\\ &=-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{\left (11279504 b^2 B (b c-a d) g^3 n\right ) \int (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{7 d^3}-\frac{\left (11279504 b B (b c-a d)^2 g^3 n\right ) \int (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{7 d^3}+\frac{\left (5639752 b B (b c-a d)^2 g^3 n\right ) \int (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{d^3}-\frac{\left (11279504 B (b c-a d)^3 g^3 n\right ) \int (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{7 d^3}+\frac{\left (5639752 B (b c-a d)^3 g^3 n\right ) \int (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{d^3}-\frac{\left (33838512 B (b c-a d)^3 g^3 n\right ) \int (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{5 d^3}-\frac{\left (11279504 B (b c-a d)^4 g^3 n\right ) \int (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{7 b d^3}+\frac{\left (2819876 B (b c-a d)^4 g^3 n\right ) \int (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{b d^3}+\frac{\left (5639752 B (b c-a d)^4 g^3 n\right ) \int (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{b d^3}-\frac{\left (33838512 B (b c-a d)^4 g^3 n\right ) \int (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{5 b d^3}-\frac{\left (11279504 B (b c-a d)^5 g^3 n\right ) \int (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{7 b^2 d^3}+\frac{\left (2819876 B (b c-a d)^5 g^3 n\right ) \int (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{b^2 d^3}+\frac{\left (5639752 B (b c-a d)^5 g^3 n\right ) \int (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{b^2 d^3}-\frac{\left (33838512 B (b c-a d)^5 g^3 n\right ) \int (c+d x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{5 b^2 d^3}-\frac{\left (11279504 B (b c-a d)^6 g^3 n\right ) \int \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{7 b^3 d^3}+\frac{\left (2819876 B (b c-a d)^6 g^3 n\right ) \int \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{b^3 d^3}+\frac{\left (5639752 B (b c-a d)^6 g^3 n\right ) \int \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{b^3 d^3}-\frac{\left (33838512 B (b c-a d)^6 g^3 n\right ) \int \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right ) \, dx}{5 b^3 d^3}-\frac{\left (11279504 B (b c-a d)^7 g^3 n\right ) \int \frac{A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{7 b^3 d^4}+\frac{\left (2819876 B (b c-a d)^7 g^3 n\right ) \int \frac{A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{b^3 d^4}+\frac{\left (5639752 B (b c-a d)^7 g^3 n\right ) \int \frac{A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{b^3 d^4}-\frac{\left (33838512 B (b c-a d)^7 g^3 n\right ) \int \frac{A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{5 b^3 d^4}\\ &=\frac{2819876 A B (b c-a d)^6 g^3 n x}{35 b^3 d^3}+\frac{1409938 B (b c-a d)^5 g^3 n (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^2 d^4}+\frac{2819876 B (b c-a d)^4 g^3 n (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{105 b d^4}-\frac{23968946 B (b c-a d)^3 g^3 n (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 d^4}+\frac{5639752 b B (b c-a d)^2 g^3 n (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{7 d^4}-\frac{5639752 b^2 B (b c-a d) g^3 n (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{21 d^4}+\frac{2819876 B (b c-a d)^7 g^3 n \log (a+b x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^4 d^4}-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{\left (11279504 B^2 (b c-a d)^6 g^3 n\right ) \int \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right ) \, dx}{7 b^3 d^3}+\frac{\left (2819876 B^2 (b c-a d)^6 g^3 n\right ) \int \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right ) \, dx}{b^3 d^3}+\frac{\left (5639752 B^2 (b c-a d)^6 g^3 n\right ) \int \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right ) \, dx}{b^3 d^3}-\frac{\left (33838512 B^2 (b c-a d)^6 g^3 n\right ) \int \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right ) \, dx}{5 b^3 d^3}+\frac{\left (5639752 b^2 B^2 (b c-a d) g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^5}{a+b x} \, dx}{21 d^4}+\frac{\left (11279504 b B^2 (b c-a d)^2 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^4}{a+b x} \, dx}{35 d^4}-\frac{\left (5639752 b B^2 (b c-a d)^2 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^4}{a+b x} \, dx}{5 d^4}+\frac{\left (2819876 B^2 (b c-a d)^3 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^3}{a+b x} \, dx}{7 d^4}-\frac{\left (1409938 B^2 (b c-a d)^3 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^3}{a+b x} \, dx}{d^4}+\frac{\left (8459628 B^2 (b c-a d)^3 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^3}{a+b x} \, dx}{5 d^4}+\frac{\left (11279504 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^2}{a+b x} \, dx}{21 b d^4}-\frac{\left (2819876 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^2}{a+b x} \, dx}{3 b d^4}-\frac{\left (5639752 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^2}{a+b x} \, dx}{3 b d^4}+\frac{\left (11279504 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)^2}{a+b x} \, dx}{5 b d^4}+\frac{\left (5639752 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)}{a+b x} \, dx}{7 b^2 d^4}-\frac{\left (1409938 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)}{a+b x} \, dx}{b^2 d^4}-\frac{\left (2819876 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)}{a+b x} \, dx}{b^2 d^4}+\frac{\left (16919256 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(b c-a d) (c+d x)}{a+b x} \, dx}{5 b^2 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{(c+d x) \left (-\frac{d (a+b x)}{(c+d x)^2}+\frac{b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{7 b^4 d^4}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{(c+d x) \left (-\frac{d (a+b x)}{(c+d x)^2}+\frac{b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{b^4 d^4}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{(c+d x) \left (-\frac{d (a+b x)}{(c+d x)^2}+\frac{b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{b^4 d^4}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{(c+d x) \left (-\frac{d (a+b x)}{(c+d x)^2}+\frac{b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{5 b^4 d^4}\\ &=\frac{2819876 A B (b c-a d)^6 g^3 n x}{35 b^3 d^3}+\frac{2819876 B^2 (b c-a d)^6 g^3 n (a+b x) \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{35 b^4 d^3}+\frac{1409938 B (b c-a d)^5 g^3 n (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^2 d^4}+\frac{2819876 B (b c-a d)^4 g^3 n (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{105 b d^4}-\frac{23968946 B (b c-a d)^3 g^3 n (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 d^4}+\frac{5639752 b B (b c-a d)^2 g^3 n (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{7 d^4}-\frac{5639752 b^2 B (b c-a d) g^3 n (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{21 d^4}+\frac{2819876 B (b c-a d)^7 g^3 n \log (a+b x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^4 d^4}-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}+\frac{\left (5639752 b^2 B^2 (b c-a d)^2 g^3 n^2\right ) \int \frac{(c+d x)^5}{a+b x} \, dx}{21 d^4}+\frac{\left (11279504 b B^2 (b c-a d)^3 g^3 n^2\right ) \int \frac{(c+d x)^4}{a+b x} \, dx}{35 d^4}-\frac{\left (5639752 b B^2 (b c-a d)^3 g^3 n^2\right ) \int \frac{(c+d x)^4}{a+b x} \, dx}{5 d^4}+\frac{\left (2819876 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(c+d x)^3}{a+b x} \, dx}{7 d^4}-\frac{\left (1409938 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(c+d x)^3}{a+b x} \, dx}{d^4}+\frac{\left (8459628 B^2 (b c-a d)^4 g^3 n^2\right ) \int \frac{(c+d x)^3}{a+b x} \, dx}{5 d^4}+\frac{\left (11279504 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(c+d x)^2}{a+b x} \, dx}{21 b d^4}-\frac{\left (2819876 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(c+d x)^2}{a+b x} \, dx}{3 b d^4}-\frac{\left (5639752 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(c+d x)^2}{a+b x} \, dx}{3 b d^4}+\frac{\left (11279504 B^2 (b c-a d)^5 g^3 n^2\right ) \int \frac{(c+d x)^2}{a+b x} \, dx}{5 b d^4}+\frac{\left (5639752 B^2 (b c-a d)^6 g^3 n^2\right ) \int \frac{c+d x}{a+b x} \, dx}{7 b^2 d^4}-\frac{\left (1409938 B^2 (b c-a d)^6 g^3 n^2\right ) \int \frac{c+d x}{a+b x} \, dx}{b^2 d^4}-\frac{\left (2819876 B^2 (b c-a d)^6 g^3 n^2\right ) \int \frac{c+d x}{a+b x} \, dx}{b^2 d^4}+\frac{\left (16919256 B^2 (b c-a d)^6 g^3 n^2\right ) \int \frac{c+d x}{a+b x} \, dx}{5 b^2 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \int \left (\frac{b \log (a+b x)}{a+b x}-\frac{d \log (a+b x)}{c+d x}\right ) \, dx}{7 b^4 d^4}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \int \left (\frac{b \log (a+b x)}{a+b x}-\frac{d \log (a+b x)}{c+d x}\right ) \, dx}{b^4 d^4}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \int \left (\frac{b \log (a+b x)}{a+b x}-\frac{d \log (a+b x)}{c+d x}\right ) \, dx}{b^4 d^4}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \int \left (\frac{b \log (a+b x)}{a+b x}-\frac{d \log (a+b x)}{c+d x}\right ) \, dx}{5 b^4 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{1}{c+d x} \, dx}{7 b^4 d^3}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{1}{c+d x} \, dx}{b^4 d^3}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{1}{c+d x} \, dx}{b^4 d^3}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{1}{c+d x} \, dx}{5 b^4 d^3}\\ &=\frac{2819876 A B (b c-a d)^6 g^3 n x}{35 b^3 d^3}+\frac{2819876 B^2 (b c-a d)^6 g^3 n (a+b x) \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{35 b^4 d^3}+\frac{1409938 B (b c-a d)^5 g^3 n (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^2 d^4}+\frac{2819876 B (b c-a d)^4 g^3 n (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{105 b d^4}-\frac{23968946 B (b c-a d)^3 g^3 n (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 d^4}+\frac{5639752 b B (b c-a d)^2 g^3 n (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{7 d^4}-\frac{5639752 b^2 B (b c-a d) g^3 n (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{21 d^4}+\frac{2819876 B (b c-a d)^7 g^3 n \log (a+b x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^4 d^4}-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (c+d x)}{35 b^4 d^4}+\frac{\left (5639752 b^2 B^2 (b c-a d)^2 g^3 n^2\right ) \int \left (\frac{d (b c-a d)^4}{b^5}+\frac{(b c-a d)^5}{b^5 (a+b x)}+\frac{d (b c-a d)^3 (c+d x)}{b^4}+\frac{d (b c-a d)^2 (c+d x)^2}{b^3}+\frac{d (b c-a d) (c+d x)^3}{b^2}+\frac{d (c+d x)^4}{b}\right ) \, dx}{21 d^4}+\frac{\left (11279504 b B^2 (b c-a d)^3 g^3 n^2\right ) \int \left (\frac{d (b c-a d)^3}{b^4}+\frac{(b c-a d)^4}{b^4 (a+b x)}+\frac{d (b c-a d)^2 (c+d x)}{b^3}+\frac{d (b c-a d) (c+d x)^2}{b^2}+\frac{d (c+d x)^3}{b}\right ) \, dx}{35 d^4}-\frac{\left (5639752 b B^2 (b c-a d)^3 g^3 n^2\right ) \int \left (\frac{d (b c-a d)^3}{b^4}+\frac{(b c-a d)^4}{b^4 (a+b x)}+\frac{d (b c-a d)^2 (c+d x)}{b^3}+\frac{d (b c-a d) (c+d x)^2}{b^2}+\frac{d (c+d x)^3}{b}\right ) \, dx}{5 d^4}+\frac{\left (2819876 B^2 (b c-a d)^4 g^3 n^2\right ) \int \left (\frac{d (b c-a d)^2}{b^3}+\frac{(b c-a d)^3}{b^3 (a+b x)}+\frac{d (b c-a d) (c+d x)}{b^2}+\frac{d (c+d x)^2}{b}\right ) \, dx}{7 d^4}-\frac{\left (1409938 B^2 (b c-a d)^4 g^3 n^2\right ) \int \left (\frac{d (b c-a d)^2}{b^3}+\frac{(b c-a d)^3}{b^3 (a+b x)}+\frac{d (b c-a d) (c+d x)}{b^2}+\frac{d (c+d x)^2}{b}\right ) \, dx}{d^4}+\frac{\left (8459628 B^2 (b c-a d)^4 g^3 n^2\right ) \int \left (\frac{d (b c-a d)^2}{b^3}+\frac{(b c-a d)^3}{b^3 (a+b x)}+\frac{d (b c-a d) (c+d x)}{b^2}+\frac{d (c+d x)^2}{b}\right ) \, dx}{5 d^4}+\frac{\left (11279504 B^2 (b c-a d)^5 g^3 n^2\right ) \int \left (\frac{d (b c-a d)}{b^2}+\frac{(b c-a d)^2}{b^2 (a+b x)}+\frac{d (c+d x)}{b}\right ) \, dx}{21 b d^4}-\frac{\left (2819876 B^2 (b c-a d)^5 g^3 n^2\right ) \int \left (\frac{d (b c-a d)}{b^2}+\frac{(b c-a d)^2}{b^2 (a+b x)}+\frac{d (c+d x)}{b}\right ) \, dx}{3 b d^4}-\frac{\left (5639752 B^2 (b c-a d)^5 g^3 n^2\right ) \int \left (\frac{d (b c-a d)}{b^2}+\frac{(b c-a d)^2}{b^2 (a+b x)}+\frac{d (c+d x)}{b}\right ) \, dx}{3 b d^4}+\frac{\left (11279504 B^2 (b c-a d)^5 g^3 n^2\right ) \int \left (\frac{d (b c-a d)}{b^2}+\frac{(b c-a d)^2}{b^2 (a+b x)}+\frac{d (c+d x)}{b}\right ) \, dx}{5 b d^4}+\frac{\left (5639752 B^2 (b c-a d)^6 g^3 n^2\right ) \int \left (\frac{d}{b}+\frac{b c-a d}{b (a+b x)}\right ) \, dx}{7 b^2 d^4}-\frac{\left (1409938 B^2 (b c-a d)^6 g^3 n^2\right ) \int \left (\frac{d}{b}+\frac{b c-a d}{b (a+b x)}\right ) \, dx}{b^2 d^4}-\frac{\left (2819876 B^2 (b c-a d)^6 g^3 n^2\right ) \int \left (\frac{d}{b}+\frac{b c-a d}{b (a+b x)}\right ) \, dx}{b^2 d^4}+\frac{\left (16919256 B^2 (b c-a d)^6 g^3 n^2\right ) \int \left (\frac{d}{b}+\frac{b c-a d}{b (a+b x)}\right ) \, dx}{5 b^2 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{7 b^3 d^4}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{b^3 d^4}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{b^3 d^4}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{5 b^3 d^4}-\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{7 b^4 d^3}+\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{b^4 d^3}+\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{b^4 d^3}-\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{5 b^4 d^3}\\ &=\frac{2819876 A B (b c-a d)^6 g^3 n x}{35 b^3 d^3}+\frac{2819876 B^2 (b c-a d)^6 g^3 n^2 x}{35 b^3 d^3}+\frac{2114907 B^2 (b c-a d)^5 g^3 n^2 (c+d x)^2}{35 b^2 d^4}+\frac{15509318 B^2 (b c-a d)^4 g^3 n^2 (c+d x)^3}{315 b d^4}-\frac{2819876 B^2 (b c-a d)^3 g^3 n^2 (c+d x)^4}{21 d^4}+\frac{5639752 b B^2 (b c-a d)^2 g^3 n^2 (c+d x)^5}{105 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (a+b x)}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^6 g^3 n (a+b x) \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{35 b^4 d^3}+\frac{1409938 B (b c-a d)^5 g^3 n (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^2 d^4}+\frac{2819876 B (b c-a d)^4 g^3 n (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{105 b d^4}-\frac{23968946 B (b c-a d)^3 g^3 n (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 d^4}+\frac{5639752 b B (b c-a d)^2 g^3 n (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{7 d^4}-\frac{5639752 b^2 B (b c-a d) g^3 n (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{21 d^4}+\frac{2819876 B (b c-a d)^7 g^3 n \log (a+b x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^4 d^4}-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (c+d x)}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{35 b^4 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{7 b^4 d^4}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{b^4 d^4}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{b^4 d^4}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{5 b^4 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{7 b^3 d^4}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{b^3 d^4}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{b^3 d^4}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{5 b^3 d^4}\\ &=\frac{2819876 A B (b c-a d)^6 g^3 n x}{35 b^3 d^3}+\frac{2819876 B^2 (b c-a d)^6 g^3 n^2 x}{35 b^3 d^3}+\frac{2114907 B^2 (b c-a d)^5 g^3 n^2 (c+d x)^2}{35 b^2 d^4}+\frac{15509318 B^2 (b c-a d)^4 g^3 n^2 (c+d x)^3}{315 b d^4}-\frac{2819876 B^2 (b c-a d)^3 g^3 n^2 (c+d x)^4}{21 d^4}+\frac{5639752 b B^2 (b c-a d)^2 g^3 n^2 (c+d x)^5}{105 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (a+b x)}{35 b^4 d^4}-\frac{1409938 B^2 (b c-a d)^7 g^3 n^2 \log ^2(a+b x)}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^6 g^3 n (a+b x) \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{35 b^4 d^3}+\frac{1409938 B (b c-a d)^5 g^3 n (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^2 d^4}+\frac{2819876 B (b c-a d)^4 g^3 n (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{105 b d^4}-\frac{23968946 B (b c-a d)^3 g^3 n (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 d^4}+\frac{5639752 b B (b c-a d)^2 g^3 n (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{7 d^4}-\frac{5639752 b^2 B (b c-a d) g^3 n (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{21 d^4}+\frac{2819876 B (b c-a d)^7 g^3 n \log (a+b x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^4 d^4}-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (c+d x)}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{35 b^4 d^4}+\frac{\left (11279504 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{7 b^4 d^4}-\frac{\left (2819876 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{b^4 d^4}-\frac{\left (5639752 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{b^4 d^4}+\frac{\left (33838512 B^2 (b c-a d)^7 g^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{5 b^4 d^4}\\ &=\frac{2819876 A B (b c-a d)^6 g^3 n x}{35 b^3 d^3}+\frac{2819876 B^2 (b c-a d)^6 g^3 n^2 x}{35 b^3 d^3}+\frac{2114907 B^2 (b c-a d)^5 g^3 n^2 (c+d x)^2}{35 b^2 d^4}+\frac{15509318 B^2 (b c-a d)^4 g^3 n^2 (c+d x)^3}{315 b d^4}-\frac{2819876 B^2 (b c-a d)^3 g^3 n^2 (c+d x)^4}{21 d^4}+\frac{5639752 b B^2 (b c-a d)^2 g^3 n^2 (c+d x)^5}{105 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (a+b x)}{35 b^4 d^4}-\frac{1409938 B^2 (b c-a d)^7 g^3 n^2 \log ^2(a+b x)}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^6 g^3 n (a+b x) \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )}{35 b^4 d^3}+\frac{1409938 B (b c-a d)^5 g^3 n (c+d x)^2 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^2 d^4}+\frac{2819876 B (b c-a d)^4 g^3 n (c+d x)^3 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{105 b d^4}-\frac{23968946 B (b c-a d)^3 g^3 n (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 d^4}+\frac{5639752 b B (b c-a d)^2 g^3 n (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{7 d^4}-\frac{5639752 b^2 B (b c-a d) g^3 n (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{21 d^4}+\frac{2819876 B (b c-a d)^7 g^3 n \log (a+b x) \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )}{35 b^4 d^4}-\frac{1409938 (b c-a d)^3 g^3 (c+d x)^4 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{16919256 b (b c-a d)^2 g^3 (c+d x)^5 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{5 d^4}-\frac{2819876 b^2 (b c-a d) g^3 (c+d x)^6 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{d^4}+\frac{5639752 b^3 g^3 (c+d x)^7 \left (A+B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )\right )^2}{7 d^4}-\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (c+d x)}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{35 b^4 d^4}+\frac{2819876 B^2 (b c-a d)^7 g^3 n^2 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{35 b^4 d^4}\\ \end{align*}
Mathematica [B] time = 3.81964, size = 2448, normalized size = 2.09 \[ \text{Result too large to show} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.726, size = 0, normalized size = 0. \begin{align*} \int \left ( bgx+ag \right ) ^{3} \left ( dix+ci \right ) ^{3} \left ( A+B\ln \left ( e \left ({\frac{bx+a}{dx+c}} \right ) ^{n} \right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 4.43479, size = 10591, normalized size = 9.04 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (A^{2} b^{3} d^{3} g^{3} i^{3} x^{6} + A^{2} a^{3} c^{3} g^{3} i^{3} + 3 \,{\left (A^{2} b^{3} c d^{2} + A^{2} a b^{2} d^{3}\right )} g^{3} i^{3} x^{5} + 3 \,{\left (A^{2} b^{3} c^{2} d + 3 \, A^{2} a b^{2} c d^{2} + A^{2} a^{2} b d^{3}\right )} g^{3} i^{3} x^{4} +{\left (A^{2} b^{3} c^{3} + 9 \, A^{2} a b^{2} c^{2} d + 9 \, A^{2} a^{2} b c d^{2} + A^{2} a^{3} d^{3}\right )} g^{3} i^{3} x^{3} + 3 \,{\left (A^{2} a b^{2} c^{3} + 3 \, A^{2} a^{2} b c^{2} d + A^{2} a^{3} c d^{2}\right )} g^{3} i^{3} x^{2} + 3 \,{\left (A^{2} a^{2} b c^{3} + A^{2} a^{3} c^{2} d\right )} g^{3} i^{3} x +{\left (B^{2} b^{3} d^{3} g^{3} i^{3} x^{6} + B^{2} a^{3} c^{3} g^{3} i^{3} + 3 \,{\left (B^{2} b^{3} c d^{2} + B^{2} a b^{2} d^{3}\right )} g^{3} i^{3} x^{5} + 3 \,{\left (B^{2} b^{3} c^{2} d + 3 \, B^{2} a b^{2} c d^{2} + B^{2} a^{2} b d^{3}\right )} g^{3} i^{3} x^{4} +{\left (B^{2} b^{3} c^{3} + 9 \, B^{2} a b^{2} c^{2} d + 9 \, B^{2} a^{2} b c d^{2} + B^{2} a^{3} d^{3}\right )} g^{3} i^{3} x^{3} + 3 \,{\left (B^{2} a b^{2} c^{3} + 3 \, B^{2} a^{2} b c^{2} d + B^{2} a^{3} c d^{2}\right )} g^{3} i^{3} x^{2} + 3 \,{\left (B^{2} a^{2} b c^{3} + B^{2} a^{3} c^{2} d\right )} g^{3} i^{3} x\right )} \log \left (e \left (\frac{b x + a}{d x + c}\right )^{n}\right )^{2} + 2 \,{\left (A B b^{3} d^{3} g^{3} i^{3} x^{6} + A B a^{3} c^{3} g^{3} i^{3} + 3 \,{\left (A B b^{3} c d^{2} + A B a b^{2} d^{3}\right )} g^{3} i^{3} x^{5} + 3 \,{\left (A B b^{3} c^{2} d + 3 \, A B a b^{2} c d^{2} + A B a^{2} b d^{3}\right )} g^{3} i^{3} x^{4} +{\left (A B b^{3} c^{3} + 9 \, A B a b^{2} c^{2} d + 9 \, A B a^{2} b c d^{2} + A B a^{3} d^{3}\right )} g^{3} i^{3} x^{3} + 3 \,{\left (A B a b^{2} c^{3} + 3 \, A B a^{2} b c^{2} d + A B a^{3} c d^{2}\right )} g^{3} i^{3} x^{2} + 3 \,{\left (A B a^{2} b c^{3} + A B a^{3} c^{2} d\right )} g^{3} i^{3} x\right )} \log \left (e \left (\frac{b x + a}{d x + c}\right )^{n}\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b g x + a g\right )}^{3}{\left (d i x + c i\right )}^{3}{\left (B \log \left (e \left (\frac{b x + a}{d x + c}\right )^{n}\right ) + A\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]